package com.zekdot.aptgateway.util;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Create by zekdot on 20-3-17.
 */
@Component
public class ConfigInfo {
    @Value("#{'${config.whiteList}'.split(',')}")
    public List<String> whiteList;

    @Value("#{'${config.adminOnlyList}'.split(',')}")
    public List<String> adminOnlyList;

    @Value("#{'${config.regUserDenyList}'.split(',')}")
    public List<String> regUserDenyList;
}
